package com.sky.model;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

@Data
public class User {

    private int id;

    private String username;

    private String password;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate date;

    private char sex;

    private List<String> fav;

}
